import type { FormType } from '../../types'

export type ToolType = {
  title: string
  type: FormType
  interaction: 'drag' | 'click'
}

interface ToolBlockType {
  title: string
  tools: ToolType[]
}
export const tools: ToolBlockType[] = [
  {
    title: '表单图形',
    tools: [
      { title: '输入框', type: 'input', interaction: 'drag' },
      { title: 'select单选', type: 'select', interaction: 'drag' },
      { title: '日期', type: 'date', interaction: 'drag' }
    ]
  },
  {
    title: '页面交互',
    tools: [{ title: 'Dialog弹窗', type: 'dialog', interaction: 'click' }]
  }
]
